/*

   Here's the stylesheet rules used to format the menus and their content.

   Feel free to alter the menu layout however you want. All you have to do is ensure the script
   has the correct CSS property name (like 'visibility' or 'display') that you want it to change,
   and that your submenus are set as hidden by default.

   */

.menuroot {
  background-color: #D7C2C7; layer-background-color: #D7C2C7;
  cursor: pointer;
}

.menuroot span {
  display: block;
  /* I've specified borders for each side individually so NS4 ignores this setting */
  border-top: 1px solid #D7C2C7;
  border-right: 1px solid #D7C2C7;
  border-bottom: 1px solid #D7C2C7;
  border-left: 1px solid #D7C2C7;
  color: #003333;
  text-decoration: none;
  padding: 2px;
  padding-left: 10px;
  padding-right: 10px;
  font: 12px Arial, Helvetica;
  font-weight: bold;
  white-space: nowrap;
}

.menuroot .highlighted
{
  border: 1px outset;
  /* Borders:     Top    Right  Bottom    Left   */
  border-color: #FFFFCC #666633 #666633 #FFFFCC;
}


/* RULES FOR THE "MENUDIV" OBJECT */

.menudiv
{
  /* This is just an absolutely positioned and hidden DIV (treated as a layer in NS4). */
  position: absolute;
  visibility: hidden;
  border: 1px outset #FFFFCC;
  /* Borders:     Top    Right  Bottom    Left   */
  border-color: #000000 #666633 #666633 #000000;
  background-color: #FFFFFF; layer-background-color: #FFFFFF;
  padding: 2px;
  font: 10px Arial, Helvetica;
  /* Here's a cool effect, try uncommenting this: */
  filter: alpha(opacity=90); -moz-opacity: 0.9;
}


/* Formatting to apply to the elements inside the "menudiv" class elements. */
/* Of course, you can put whatever you want within the menu divs, these are just examples. */
/* If you're not keen on CSS, perhaps just use TABLE tags for your menus. */

.menudiv .header
{
  width: 100%;
  font-weight: bold;
  text-align: center;
  border-bottom: 2px dashed #999966;
  margin-bottom: 5px;
}

.menudiv A {
  display: block;
  /* I've specified borders for each side individually so NS4 ignores this setting */
  border-top: 1px solid #FFFFFF;
  border-right: 1px solid #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
  border-left: 1px solid #FFFFFF;
  color: #003333;
  text-indent: 5px;
  text-decoration: none;
  padding: 1px;
  white-space:nowrap;
}

/* I'm using :hover and :active pseudo-classes for link mouse effects. */
.menudiv A:hover
{
  border: 1px solid #D7C2C7; // #336699;
  border-color: #6699CC #003366 #003366 #6699CC;
  background-color: #D7C2C7; //#336699;
  color: #000000; //#FFFFFF;
}
.menudiv A:active
{
  border: 1px solid #003366;
  border-color: #000000 #3366CC #3366CC #000000;
  background-color: #003366;
  color: #FFFFFF;
}

/*
   The script will automatically assign a class of "highlighted" to elements that currently
   have an active submenu, so here's a little CSS to format links within a .menudiv element.
   */
.menudiv .highlighted
{
  background-color: #336699;
  border-color: #336699;
  color: #FFFFFF;
}

/* The links in the upper-left that pop out 'divMenu' menus. */
.trigger A
{
  font: Bold 14px Arial, Helvetica, sans-serif;
  color: #003366;
  text-decoration: none;
}

/* Likewise, style active trigger links */
.trigger A.highlighted
{
  color: #CC9966;
}




/* RULES FOR THE "LISTMENU" OBJECT */

/*
   This is pretty simple at the moment. Perhaps you may wish to put 'position: relative;' on
   the LI elements and 'position: absolute; left: 100px;' on the nested UL tags, and so on?
   */

.menulist UL
{
  display: none;
}
.menulist A
{
  color: #003366;
  text-decoration: none;
}
.menulist A:hover
{
  background-color: #336699;
  color: #FFFFFF;
}
.menuslist A.highlighted
{
  color: #CC9966;
}

/* Just a random style, needed for NS4 */
B
{
  font-weight: bold;
}
